package com.zhongkeruan.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yangyao
 * @Description: 注册中心
 * @date 2019/1/9 11:14
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaApplication {
    private static Logger logger = LoggerFactory.getLogger(EurekaApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(EurekaApplication.class, args);
        logger.info("「「「「「服务注册中心启动完成」」」」」");
    }
}
